package com.hjq.mallorder.feign;

import com.hjq.mallorder.entity.vo.OrderItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;
import java.util.List;

/**
 * @auther HJQ
 */
@FeignClient("mall-cart")
public interface CartFeign {
    @RequestMapping("/getCartItems")
    List<OrderItemVO> getCurrentUserCart(@RequestParam("memberId") Long memberId);


}
